package com.qingcloud.adminbackend.entity.robot;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
public class RobotInfo  {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机器人项目id")
    private String projectId;
    @ApiModelProperty(value = "机器人序列好（设备Id）")
    @NotNull(message = "机器人序列号不能为空!")
    private String serialNumber;
    @ApiModelProperty(value = "地图图片")
    private String mapUrl;
    @ApiModelProperty(value = "拓展地图图片")
    private String mapExpandUrl;
    @ApiModelProperty(value = "横图偏转角度（°）")
    private Double traverseAngle;

    @ApiModelProperty(value = "高度")
    private Double height;
    @ApiModelProperty(value = "宽度")
    private Double width;
    @ApiModelProperty(value = "x坐标")
    private Double originX;
    @ApiModelProperty(value = "Y坐标")
    private Double originY;
    @ApiModelProperty(value = "分辨率")
    private Double resolution;

    @ApiModelProperty(value = "机器人访问ip")
    private String ip;
    @ApiModelProperty(value = "机器人http端口")
    private Long httpPort;
    @ApiModelProperty(value = "机器人https端口")
    private Long httpsPort;
    @ApiModelProperty(value = "websocket端口")
    private Long websocketPort;
    @ApiModelProperty(value = "0：不可用，1：可用")
    private Integer enable;
    @ApiModelProperty(value = "船舶id")
    private String mo;

}
